//
//  Section.h
//  Racing
//
//  Created by vy phan on 4/11/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GameConstants.h"
#import "Rectangle.h"

@interface Section : NSObject {
	@private
	Section* next;
	Section* prev;
	Rectangle* bounds;
	@protected
	int type;
}

-(id)initWithX:(int)x Y:(int)y;
-(Section*) getNextSection;
-(Section*) getPreviousSection;
-(Rectangle*) getBounds;
-(void) setNextSection:(Section*) section;	
-(int) type;
@end
